home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Libraries / POSIX / posixinfo.txt < prev   
LaTeX Document  |  1992-10-12  |  6.9 KB  |  [TEXT/ttxt]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
100% dexvert Emacs RMAIL (text/emacsRMAIL) magic Supported
10% dexvert OS/2 Bitmap Array (archive/os2BitmapArray) magic Supported
10% dexvert OS/2 Icon File (image/icoOS2) magic Supported
1% dexvert Swift 3D 3D Graphic (poly/swift3D3DGraphic) ext Unsupported
1% dexvert Boost Text serialization (other/boostTextSerialization) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file Emacs RMAIL default
99% file data default
100% TrID OS/2 Bitmap Graphics Array (generic) default (weak)
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% gt2 Textdatei (Mac) default
100% detectItEasy Format: plain text[CR] default (weak)


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[ttxt]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 42 41 42 59 4c 20 4f 50 | 54 49 4f 4e 53 3a 0d 56 |BABYL OP|TIONS:.V|
|00000010| 65 72 73 69 6f 6e 3a 20 | 35 0d 4c 61 62 65 6c 73 |ersion: |5.Labels|
|00000020| 3a 0d 4e 6f 74 65 3a 20 | 20 20 54 68 69 73 20 69 |:.Note: | This i|
|00000030| 73 20 74 68 65 20 68 65 | 61 64 65 72 20 6f 66 20 |s the he|ader of |
|00000040| 61 6e 20 72 6d 61 69 6c | 20 66 69 6c 65 2e 0d 4e |an rmail| file..N|
|00000050| 6f 74 65 3a 20 20 20 49 | 66 20 79 6f 75 20 61 72 |ote: I|f you ar|
|00000060| 65 20 73 65 65 69 6e 67 | 20 69 74 20 69 6e 20 72 |e seeing| it in r|
|00000070| 6d 61 69 6c 2c 0d 4e 6f | 74 65 3a 20 20 20 20 69 |mail,.No|te: i|
|00000080| 74 20 6d 65 61 6e 73 20 | 74 68 65 20 66 69 6c 65 |t means |the file|
|00000090| 20 68 61 73 20 6e 6f 20 | 6d 65 73 73 61 67 65 73 | has no |messages|
|000000a0| 20 69 6e 20 69 74 2e 0d | 1f 0c 0d 30 2c 20 75 6e | in it..|...0, un|
|000000b0| 73 65 65 6e 2c 2c 0d 2a | 2a 2a 20 45 4f 4f 48 20 |seen,,.*|** EOOH |
|000000c0| 2a 2a 2a 0d 4e 65 77 73 | 67 72 6f 75 70 73 3a 20 |***.News|groups: |
|000000d0| 63 6f 6d 70 2e 73 79 73 | 2e 6d 61 63 2e 70 72 6f |comp.sys|.mac.pro|
|000000e0| 67 72 61 6d 6d 65 72 0d | 53 75 62 6a 65 63 74 3a |grammer.|Subject:|
|000000f0| 20 54 68 69 6e 6b 20 43 | 20 50 6f 73 69 78 20 6c | Think C| Posix l|
|00000100| 69 62 72 61 72 79 0d 46 | 72 6f 6d 3a 20 74 69 6d |ibrary.F|rom: tim|
|00000110| 40 6d 61 74 68 73 2e 74 | 63 64 2e 69 65 20 28 54 |@maths.t|cd.ie (T|
|00000120| 69 6d 6f 74 68 79 20 4d | 75 72 70 68 79 29 0d 44 |imothy M|urphy).D|
|00000130| 61 74 65 3a 20 46 72 69 | 2c 20 32 20 4f 63 74 20 |ate: Fri|, 2 Oct |
|00000140| 31 39 39 32 20 31 37 3a | 30 39 3a 30 38 20 47 4d |1992 17:|09:08 GM|
|00000150| 54 0d 4f 72 67 61 6e 69 | 7a 61 74 69 6f 6e 3a 20 |T.Organi|zation: |
|00000160| 44 65 70 74 2e 20 6f 66 | 20 4d 61 74 68 73 2c 20 |Dept. of| Maths, |
|00000170| 54 72 69 6e 69 74 79 20 | 43 6f 6c 6c 65 67 65 2c |Trinity |College,|
|00000180| 20 44 75 62 6c 69 6e 2c | 20 49 72 65 6c 61 6e 64 | Dublin,| Ireland|
|00000190| 2e 0d 4b 65 79 77 6f 72 | 64 73 3a 20 54 68 69 6e |..Keywor|ds: Thin|
|000001a0| 6b 20 43 20 6c 69 62 72 | 61 72 79 0d 53 75 6d 6d |k C libr|ary.Summ|
|000001b0| 61 72 79 3a 20 41 20 73 | 6d 61 6c 6c 20 6c 69 62 |ary: A s|mall lib|
|000001c0| 72 61 72 79 20 6f 66 20 | 50 6f 73 69 78 20 66 75 |rary of |Posix fu|
|000001d0| 6e 63 74 69 6f 6e 73 0d | 0d 0d 49 20 72 65 63 65 |nctions.|..I rece|
|000001e0| 6e 74 6c 79 20 70 6f 72 | 74 65 64 20 61 20 6e 75 |ntly por|ted a nu|
|000001f0| 6d 62 65 72 20 6f 66 20 | 47 4e 55 20 70 72 6f 67 |mber of |GNU prog|
|00000200| 72 61 6d 73 20 74 6f 20 | 74 68 65 20 4d 61 63 20 |rams to |the Mac |
|00000210| 2d 2d 0d 69 6e 63 6c 75 | 64 69 6e 67 20 70 65 72 |--.inclu|ding per|
|00000220| 6c 2d 34 2e 30 33 35 2c | 20 72 63 73 2d 35 2e 36 |l-4.035,| rcs-5.6|
|00000230| 2c 20 64 69 66 66 2d 32 | 2e 30 20 61 6e 64 20 70 |, diff-2|.0 and p|
|00000240| 61 74 63 68 2d 32 2e 30 | 2e 31 32 75 38 20 2d 2d |atch-2.0|.12u8 --|
|00000250| 0d 75 73 69 6e 67 20 54 | 68 69 6e 6b 20 43 2e 0d |.using T|hink C..|
|00000260| 54 6f 20 61 76 6f 69 64 | 20 72 65 70 65 74 69 74 |To avoid| repetit|
|00000270| 69 6f 6e 2c 20 49 20 77 | 72 6f 74 65 20 61 20 6c |ion, I w|rote a l|
|00000280| 69 62 72 61 72 79 20 0d | 63 61 6c 6c 65 64 2c 20 |ibrary .|called, |
|00000290| 72 61 74 68 65 72 20 67 | 72 61 6e 64 69 6f 73 65 |rather g|randiose|
|000002a0| 6c 79 2c 20 54 68 69 6e | 6b 43 50 6f 73 69 78 20 |ly, Thin|kCPosix |
|000002b0| 6f 72 20 6a 75 73 74 20 | 50 6f 73 69 78 2e 0d 28 |or just |Posix..(|
|000002c0| 49 20 73 61 79 20 22 77 | 72 6f 74 65 22 2c 20 62 |I say "w|rote", b|
|000002d0| 75 74 20 69 6e 20 66 61 | 63 74 20 63 6f 64 65 20 |ut in fa|ct code |
|000002e0| 66 6f 72 20 6d 61 6e 79 | 20 6f 66 20 74 68 65 20 |for many| of the |
|000002f0| 66 75 6e 63 74 69 6f 6e | 73 0d 77 61 73 20 63 6f |function|s.was co|
|00000300| 6c 6c 65 63 74 65 64 20 | 66 72 6f 6d 20 50 44 20 |llected |from PD |
|00000310| 61 72 63 68 69 76 65 73 | 2e 29 0d 0d 54 68 65 20 |archives|.)..The |
|00000320| 66 6f 6c 6c 6f 77 69 6e | 67 20 6e 6f 74 65 20 64 |followin|g note d|
|00000330| 65 73 63 72 69 62 65 73 | 20 77 68 61 74 20 74 68 |escribes| what th|
|00000340| 69 73 20 6c 69 62 72 61 | 72 79 20 69 73 2c 0d 61 |is libra|ry is,.a|
|00000350| 6e 64 20 68 6f 77 20 69 | 74 20 63 61 6e 20 62 65 |nd how i|t can be|
|00000360| 20 6f 62 74 61 69 6e 65 | 64 20 61 6e 64 20 75 73 | obtaine|d and us|
|00000370| 65 64 2e 0d 0d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |ed...===|========|
|00000380| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 20 54 68 69 6e 6b |========|== Think|
|00000390| 43 50 6f 73 69 78 2e 74 | 65 78 20 3d 3d 3d 3d 3d |CPosix.t|ex =====|
|000003a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000003b0| 20 0d 5c 64 6f 63 75 6d | 65 6e 74 73 74 79 6c 65 | .\docum|entstyle|
|000003c0| 5b 72 63 73 2c 61 34 2c | 31 32 70 74 5d 7b 61 72 |[rcs,a4,|12pt]{ar|
|000003d0| 74 69 63 6c 65 7d 0d 0d | 25 20 72 63 73 2e 73 74 |ticle}..|% rcs.st|
|000003e0| 79 20 69 73 20 61 76 61 | 69 6c 61 62 6c 65 20 66 |y is ava|ilable f|
|000003f0| 72 6f 6d 20 66 74 70 2e | 75 6e 69 2d 73 74 75 74 |rom ftp.|uni-stut|
|00000400| 74 67 61 72 74 2e 64 65 | 0d 25 20 69 6e 20 74 68 |tgart.de|.% in th|
|00000410| 65 20 64 69 72 65 63 74 | 6f 72 79 20 73 6f 66 74 |e direct|ory soft|
|00000420| 2f 74 65 78 2f 6c 61 74 | 65 78 2d 73 74 79 6c 65 |/tex/lat|ex-style|
|00000430| 2d 73 75 70 70 6f 72 74 | 65 64 20 2e 0d 0d 5c 52 |-support|ed ...\R|
|00000440| 43 53 24 52 65 76 69 73 | 69 6f 6e 3a 20 31 2e 31 |CS$Revis|ion: 1.1|
|00000450| 20 24 0d 5c 52 43 53 24 | 44 61 74 65 3a 20 31 39 | $.\RCS$|Date: 19|
|00000460| 39 32 2f 30 39 2f 31 34 | 20 31 34 3a 32 38 3a 32 |92/09/14| 14:28:2|
|00000470| 33 20 24 0d 0d 5c 63 61 | 74 63 6f 64 65 60 5c 22 |3 $..\ca|tcode`\"|
|00000480| 3d 5c 61 63 74 69 76 65 | 0d 5c 64 65 66 22 23 31 |=\active|.\def"#1|
|00000490| 22 7b 7b 5c 74 74 20 23 | 31 7d 7d 0d 0d 5c 62 65 |"{{\tt #|1}}..\be|
|000004a0| 67 69 6e 7b 64 6f 63 75 | 6d 65 6e 74 7d 0d 0d 5c |gin{docu|ment}..\|
|000004b0| 74 69 74 6c 65 7b 41 20 | 50 6f 73 69 78 20 4c 69 |title{A |Posix Li|
|000004c0| 62 72 61 72 79 20 66 6f | 72 20 54 68 69 6e 6b 20 |brary fo|r Think |
|000004d0| 43 7d 0d 0d 5c 61 75 74 | 68 6f 72 7b 54 69 6d 6f |C}..\aut|hor{Timo|
|000004e0| 74 68 79 20 4d 75 72 70 | 68 79 5c 5c 0d 54 72 69 |thy Murp|hy\\.Tri|
|000004f0| 6e 69 74 79 20 43 6f 6c | 6c 65 67 65 20 44 75 62 |nity Col|lege Dub|
|00000500| 6c 69 6e 5c 5c 0d 28 22 | 74 69 6d 40 6d 61 74 68 |lin\\.("|tim@math|
|00000510| 73 2e 74 63 64 2e 69 65 | 22 29 7d 0d 0d 5c 64 61 |s.tcd.ie|")}..\da|
|00000520| 74 65 7b 5c 52 43 53 44 | 61 74 65 5c 5c 5b 32 6d |te{\RCSD|ate\\[2m|
|00000530| 6d 5d 0d 28 56 65 72 73 | 69 6f 6e 20 5c 52 43 53 |m].(Vers|ion \RCS|
|00000540| 52 65 76 69 73 69 6f 6e | 29 7d 0d 0d 5c 6d 61 6b |Revision|)}..\mak|
|00000550| 65 74 69 74 6c 65 0d 0d | 5c 62 65 67 69 6e 7b 61 |etitle..|\begin{a|
|00000560| 62 73 74 72 61 63 74 7d | 0d 54 68 69 73 20 6c 69 |bstract}|.This li|
|00000570| 62 72 61 72 79 20 69 73 | 20 69 6e 74 65 6e 64 65 |brary is| intende|
|00000580| 64 20 74 6f 20 73 75 70 | 70 6c 65 6d 65 6e 74 0d |d to sup|plement.|
|00000590| 74 68 65 20 41 4e 53 49 | 20 61 6e 64 20 55 6e 69 |the ANSI| and Uni|
|000005a0| 78 20 6c 69 62 72 61 72 | 69 65 73 20 70 72 6f 76 |x librar|ies prov|
|000005b0| 69 64 65 64 20 77 69 74 | 68 20 54 68 69 6e 6b 20 |ided wit|h Think |
|000005c0| 43 2c 0d 62 79 20 73 75 | 70 70 6c 79 69 6e 67 20 |C,.by su|pplying |
|000005d0| 61 73 20 6d 61 6e 79 20 | 6f 66 20 74 68 65 20 6d |as many |of the m|
|000005e0| 69 73 73 69 6e 67 20 50 | 6f 73 69 78 20 66 75 6e |issing P|osix fun|
|000005f0| 63 74 69 6f 6e 73 20 61 | 73 20 70 6f 73 73 69 62 |ctions a|s possib|
|00000600| 6c 65 2e 0d 54 68 65 20 | 6c 69 62 72 61 72 79 20 |le..The |library |
|00000610| 77 61 73 20 64 65 76 65 | 6c 6f 70 65 64 20 74 6f |was deve|loped to|
|00000620| 20 61 73 73 69 73 74 20 | 69 6e 20 70 6f 72 74 69 | assist |in porti|
|00000630| 6e 67 0d 47 4e 55 20 70 | 72 6f 67 72 61 6d 73 20 |ng.GNU p|rograms |
|00000640| 74 6f 20 74 68 65 20 4d | 61 63 69 6e 74 6f 73 68 |to the M|acintosh|
|00000650| 5c 66 6f 6f 74 6e 6f 74 | 65 6d 61 72 6b 2e 0d 5c |\footnot|emark..\|
|00000660| 65 6e 64 7b 61 62 73 74 | 72 61 63 74 7d 0d 0d 5c |end{abst|ract}..\|
|00000670| 66 6f 6f 74 6e 6f 74 65 | 74 65 78 74 7b 54 6f 20 |footnote|text{To |
|00000680| 64 61 74 65 20 74 68 65 | 20 61 75 74 68 6f 72 20 |date the| author |
|00000690| 68 61 73 20 70 6f 72 74 | 65 64 0d 74 68 65 20 66 |has port|ed.the f|
|000006a0| 6f 6c 6c 6f 77 69 6e 67 | 20 47 4e 55 20 70 72 6f |ollowing| GNU pro|
|000006b0| 67 72 61 6d 73 20 74 6f | 20 74 68 65 20 4d 61 63 |grams to| the Mac|
|000006c0| 3a 0d 22 64 69 66 66 2d | 31 2e 31 35 22 2c 0d 22 |:."diff-|1.15",."|
|000006d0| 70 61 74 63 68 2d 32 2e | 30 31 32 75 36 22 2c 0d |patch-2.|012u6",.|
|000006e0| 22 72 63 73 2d 35 2e 36 | 22 2c 0d 22 62 69 73 6f |"rcs-5.6|",."biso|
|000006f0| 6e 2d 31 2e 31 38 22 2c | 0d 22 66 6c 65 78 2d 32 |n-1.18",|."flex-2|
|00000700| 2e 33 2e 37 22 2c 0d 22 | 70 65 72 6c 2d 34 2e 30 |.3.7",."|perl-4.0|
|00000710| 33 35 22 2e 7d 0d 0d 5c | 73 65 63 74 69 6f 6e 7b |35".}..\|section{|
|00000720| 53 74 61 74 75 73 7d 0d | 0d 54 68 69 73 20 6c 69 |Status}.|.This li|
|00000730| 62 72 61 72 79 20 69 73 | 20 70 6c 61 63 65 64 20 |brary is| placed |
|00000740| 69 6e 20 74 68 65 20 50 | 75 62 6c 69 63 20 44 6f |in the P|ublic Do|
|00000750| 6d 61 69 6e 2e 0d 49 74 | 20 6d 61 79 20 62 65 20 |main..It| may be |
|00000760| 75 73 65 64 20 61 6e 64 | 20 6d 6f 64 69 66 69 65 |used and| modifie|
|00000770| 64 20 66 72 65 65 6c 79 | 2d 2d 2d 25 0d 74 68 6f |d freely|---%.tho|
|00000780| 75 67 68 20 74 68 65 20 | 61 75 74 68 6f 72 20 77 |ugh the |author w|
|00000790| 6f 75 6c 64 20 62 65 20 | 67 72 61 74 65 66 75 6c |ould be |grateful|
|000007a0| 0d 66 6f 72 20 6e 6f 74 | 69 66 69 63 61 74 69 6f |.for not|ificatio|
|000007b0| 6e 20 6f 66 20 61 6e 79 | 20 73 75 63 68 20 6d 6f |n of any| such mo|
|000007c0| 64 69 66 69 63 61 74 69 | 6f 6e 73 2c 0d 61 6e 64 |dificati|ons,.and|
|000007d0| 20 77 6f 75 6c 64 20 70 | 72 65 66 65 72 20 69 66 | would p|refer if|
|000007e0| 20 68 69 73 20 6e 61 6d | 65 20 61 6e 64 20 65 2d | his nam|e and e-|
|000007f0| 6d 61 69 6c 20 61 64 64 | 72 65 73 73 0d 77 65 72 |mail add|ress.wer|
|00000800| 65 20 6c 65 66 74 20 6f | 6e 20 61 6c 6c 20 66 69 |e left o|n all fi|
|00000810| 6c 65 73 2c 20 74 6f 20 | 74 68 69 73 20 65 6e 64 |les, to |this end|
|00000820| 2e 0d 0d 5c 73 65 63 74 | 69 6f 6e 7b 41 76 61 69 |...\sect|ion{Avai|
|00000830| 6c 61 62 69 6c 69 74 79 | 7d 0d 0d 54 68 65 20 6c |lability|}..The l|
|00000840| 69 62 72 61 72 79 20 69 | 73 20 61 76 61 69 6c 61 |ibrary i|s availa|
|00000850| 62 6c 65 20 62 79 20 61 | 6e 6f 6e 79 6d 6f 75 73 |ble by a|nonymous|
|00000860| 20 46 54 50 20 66 72 6f | 6d 20 22 66 74 70 2e 6d | FTP fro|m "ftp.m|
|00000870| 61 74 68 73 2e 74 63 64 | 2e 69 65 22 0d 69 6e 20 |aths.tcd|.ie".in |
|00000880| 74 68 65 20 64 69 72 65 | 63 74 6f 72 79 20 22 70 |the dire|ctory "p|
|00000890| 75 62 2f 4d 61 63 2f 54 | 68 69 6e 6b 43 50 6f 73 |ub/Mac/T|hinkCPos|
|000008a0| 69 78 2d 31 2e 31 22 2e | 0d 54 68 65 20 63 6f 6d |ix-1.1".|.The com|
|000008b0| 70 69 6c 65 64 20 6c 69 | 62 72 61 72 79 20 69 73 |piled li|brary is|
|000008c0| 20 63 6f 6e 74 61 69 6e | 65 64 20 69 6e 20 74 68 | contain|ed in th|
|000008d0| 65 20 66 69 6c 65 20 22 | 50 6f 73 69 78 2e 68 71 |e file "|Posix.hq|
|000008e0| 78 22 2e 0d 54 68 65 20 | 73 6f 75 72 63 65 20 66 |x"..The |source f|
|000008f0| 69 6c 65 73 20 61 72 65 | 20 61 72 63 68 69 76 65 |iles are| archive|
|00000900| 64 20 69 6e 20 22 54 68 | 69 6e 6b 43 50 6f 73 69 |d in "Th|inkCPosi|
|00000910| 78 2e 68 71 78 22 2e 0d | 54 68 69 73 20 69 6e 63 |x.hqx"..|This inc|
|00000920| 6c 75 64 65 73 20 74 68 | 65 20 54 68 69 6e 6b 20 |ludes th|e Think |
|00000930| 43 20 70 72 6f 6a 65 63 | 74 20 22 50 6f 73 69 78 |C projec|t "Posix|
|00000940| 2e 24 5c 70 69 24 22 2e | 0d 0d 5c 73 65 63 74 69 |.$\pi$".|..\secti|
|00000950| 6f 6e 7b 41 63 6b 6e 6f | 77 6c 65 64 67 65 6d 65 |on{Ackno|wledgeme|
|00000960| 6e 74 73 7d 0d 0d 54 68 | 65 20 61 75 74 68 6f 72 |nts}..Th|e author|
|00000970| 20 68 61 73 20 75 73 65 | 64 20 66 72 65 65 6c 79 | has use|d freely|
|00000980| 20 63 6f 64 65 20 69 6e | 20 74 68 65 20 61 72 63 | code in| the arc|
|00000990| 68 69 76 65 73 0d 70 6f | 69 6e 74 65 64 20 6f 75 |hives.po|inted ou|
|000009a0| 74 20 74 6f 20 68 69 6d | 2c 0d 69 6e 20 70 61 72 |t to him|,.in par|
|000009b0| 74 69 63 75 6c 61 72 20 | 63 6f 64 65 20 62 79 3a |ticular |code by:|
|000009c0| 0d 47 75 69 64 6f 20 76 | 61 6e 20 52 6f 73 73 75 |.Guido v|an Rossu|
|000009d0| 6d 20 28 22 67 75 69 64 | 6f 40 63 77 69 2e 6e 6c |m ("guid|o@cwi.nl|
|000009e0| 22 29 2c 20 61 6e 64 0d | 4d 61 74 68 69 61 73 20 |"), and.|Mathias |
|000009f0| 4e 65 65 61 72 63 68 65 | 72 2e 0d 28 57 68 65 72 |Neearche|r..(Wher|
|00000a00| 65 20 63 6f 64 65 20 69 | 73 20 74 61 6b 65 6e 20 |e code i|s taken |
|00000a10| 6d 6f 72 65 20 6f 72 20 | 6c 65 73 73 20 76 65 72 |more or |less ver|
|00000a20| 62 61 74 69 6d 2c 0d 74 | 68 69 73 20 69 73 20 69 |batim,.t|his is i|
|00000a30| 6e 64 69 63 61 74 65 64 | 20 69 6e 20 74 68 65 20 |ndicated| in the |
|00000a40| 72 65 6c 65 76 61 6e 74 | 20 66 69 6c 65 73 2e 29 |relevant| files.)|
|00000a50| 0d 0d 48 65 20 69 73 20 | 61 6c 73 6f 20 67 72 61 |..He is |also gra|
|00000a60| 74 65 66 75 6c 20 66 6f | 72 20 61 73 73 69 73 74 |teful fo|r assist|
|00000a70| 61 6e 63 65 20 66 72 6f | 6d 3a 0d 4b 65 6e 6e 65 |ance fro|m:.Kenne|
|00000a80| 74 68 20 53 65 61 68 20 | 28 22 6b 73 65 61 68 40 |th Seah |("kseah@|
|00000a90| 70 72 6f 63 79 6f 6e 2e | 61 75 73 74 69 6e 2e 74 |procyon.|austin.t|
|00000aa0| 78 2e 75 73 22 29 2c 0d | 53 61 6b 20 57 61 74 68 |x.us"),.|Sak Wath|
|00000ab0| 61 6e 61 73 69 6e 20 28 | 22 73 77 40 6e 65 74 77 |anasin (|"sw@netw|
|00000ac0| 6f 72 6b 2d 61 6e 61 6c | 79 73 69 73 2d 6c 74 64 |ork-anal|ysis-ltd|
|00000ad0| 2e 63 6f 2e 75 6b 22 29 | 2c 0d 4a 6f 68 6e 20 57 |.co.uk")|,.John W|
|00000ae0| 2e 20 48 61 72 64 69 6e | 20 28 22 68 61 72 64 69 |. Hardin| ("hardi|
|00000af0| 6e 40 6d 63 63 2e 63 6f | 6d 22 29 2c 20 61 6e 64 |n@mcc.co|m"), and|
|00000b00| 0d 47 61 72 79 20 4a 2e | 20 48 65 6e 64 65 72 73 |.Gary J.| Henders|
|00000b10| 6f 6e 20 28 22 67 61 72 | 79 40 69 73 63 6e 76 78 |on ("gar|y@iscnvx|
|00000b20| 2e 6c 6d 73 63 2e 6c 6f | 63 6b 68 65 65 64 2e 63 |.lmsc.lo|ckheed.c|
|00000b30| 6f 6d 22 29 0d 0d 5c 73 | 65 63 74 69 6f 6e 7b 50 |om")..\s|ection{P|
|00000b40| 6f 73 69 78 7d 0d 0d 54 | 68 65 20 75 73 65 20 6f |osix}..T|he use o|
|00000b50| 66 20 74 68 65 20 74 65 | 72 6d 20 60 60 50 6f 73 |f the te|rm ``Pos|
|00000b60| 69 78 27 27 20 6d 61 79 | 20 62 65 20 6d 69 73 6c |ix'' may| be misl|
|00000b70| 65 61 64 69 6e 67 2d 2d | 2d 25 0d 69 74 20 69 73 |eading--|-%.it is|
|00000b80| 20 63 65 72 74 61 69 6e | 6c 79 20 6e 6f 74 20 6d | certain|ly not m|
|00000b90| 65 61 6e 74 20 74 6f 20 | 69 6d 70 6c 79 20 74 68 |eant to |imply th|
|00000ba0| 61 74 20 74 68 65 20 66 | 75 6e 63 74 69 6f 6e 73 |at the f|unctions|
|00000bb0| 20 73 61 74 69 73 66 79 | 0d 61 6e 79 20 50 6f 73 | satisfy|.any Pos|
|00000bc0| 69 78 20 73 74 61 6e 64 | 61 72 64 73 0d 28 6f 66 |ix stand|ards.(of|
|00000bd0| 20 77 68 69 63 68 20 74 | 68 65 20 61 75 74 68 6f | which t|he autho|
|00000be0| 72 20 69 73 20 6c 61 72 | 67 65 6c 79 20 69 67 6e |r is lar|gely ign|
|00000bf0| 6f 72 61 6e 74 29 2e 0d | 49 74 20 69 73 20 69 6e |orant)..|It is in|
|00000c00| 74 65 6e 64 65 64 20 73 | 69 6d 70 6c 79 20 61 73 |tended s|imply as|
|00000c10| 20 61 20 64 65 73 63 72 | 69 70 74 69 6f 6e 0d 6f | a descr|iption.o|
|00000c20| 66 20 74 68 65 20 6b 69 | 6e 64 20 6f 66 20 66 75 |f the ki|nd of fu|
|00000c30| 6e 63 74 69 6f 6e 73 20 | 69 6e 63 6c 75 64 65 64 |nctions |included|
|00000c40| 2d 2d 2d 25 0d 6e 61 6d | 65 6c 79 2c 20 74 68 6f |---%.nam|ely, tho|
|00000c50| 73 65 20 50 6f 73 69 78 | 20 66 75 6e 63 74 69 6f |se Posix| functio|
|00000c60| 6e 73 20 6e 6f 74 20 69 | 6e 63 6c 75 64 65 64 0d |ns not i|ncluded.|
|00000c70| 69 6e 20 74 68 65 20 54 | 68 69 6e 6b 20 43 20 41 |in the T|hink C A|
|00000c80| 4e 53 49 20 6f 72 20 55 | 6e 69 78 20 6c 69 62 72 |NSI or U|nix libr|
|00000c90| 61 72 69 65 73 2e 0d 0d | 4d 61 6e 79 20 6f 66 20 |aries...|Many of |
|00000ca0| 74 68 65 20 66 75 6e 63 | 74 69 6f 6e 73 0d 28 69 |the func|tions.(i|
|00000cb0| 6e 20 70 61 72 74 69 63 | 75 6c 61 72 20 74 68 6f |n partic|ular tho|
|00000cc0| 73 65 20 69 6e 20 74 68 | 65 20 66 69 6c 65 20 22 |se in th|e file "|
|00000cd0| 64 75 6d 6d 79 2e 63 22 | 29 0d 64 6f 20 6e 6f 20 |dummy.c"|).do no |
|00000ce0| 6d 6f 72 65 20 74 68 61 | 6e 20 72 65 74 75 72 6e |more tha|n return|
|00000cf0| 20 61 6e 20 61 70 70 72 | 6f 70 72 69 61 74 65 20 | an appr|opriate |
|00000d00| 76 61 6c 75 65 2c 0d 69 | 6e 64 69 63 61 74 69 6e |value,.i|ndicatin|
|00000d10| 67 20 73 75 63 63 65 73 | 73 20 6f 72 20 66 61 69 |g succes|s or fai|
|00000d20| 6c 75 72 65 2c 20 61 73 | 20 64 65 65 6d 65 64 20 |lure, as| deemed |
|00000d30| 61 70 70 72 6f 70 72 69 | 61 74 65 2e 0d 0d 5c 73 |appropri|ate...\s|
|00000d40| 65 63 74 69 6f 6e 7b 43 | 6f 6d 70 69 6c 61 74 69 |ection{C|ompilati|
|00000d50| 6f 6e 7d 0d 0d 54 6f 20 | 72 65 2d 63 6f 6d 70 69 |on}..To |re-compi|
|00000d60| 6c 65 20 74 68 65 20 6c | 69 62 72 61 72 79 2c 0d |le the l|ibrary,.|
|00000d70| 74 68 65 20 69 6e 63 6c | 75 64 65 64 20 70 72 6f |the incl|uded pro|
|00000d80| 6a 65 63 74 20 22 50 6f | 73 69 78 2e 24 5c 70 69 |ject "Po|six.$\pi|
|00000d90| 24 22 20 63 61 6e 20 62 | 65 20 75 73 65 64 2e 0d |$" can b|e used..|
|00000da0| 4a 75 73 74 20 63 68 6f | 6f 73 65 20 74 68 65 20 |Just cho|ose the |
|00000db0| 22 42 75 69 6c 64 20 4c | 69 62 72 61 72 79 22 20 |"Build L|ibrary" |
|00000dc0| 6f 70 74 69 6f 6e 0d 69 | 6e 20 74 68 65 20 22 50 |option.i|n the "P|
|00000dd0| 72 6f 6a 65 63 74 22 20 | 6d 65 6e 75 2e 0d 0d 54 |roject" |menu...T|
|00000de0| 68 65 20 61 75 74 68 6f | 72 20 68 61 73 20 61 6c |he autho|r has al|
|00000df0| 6c 20 74 68 65 20 41 4e | 53 49 20 6f 70 74 69 6f |l the AN|SI optio|
|00000e00| 6e 73 20 74 75 72 6e 65 | 64 20 6f 6e 2c 0d 61 73 |ns turne|d on,.as|
|00000e10| 20 77 65 6c 6c 20 61 73 | 20 22 52 65 71 75 69 72 | well as| "Requir|
|00000e20| 65 20 70 72 6f 74 6f 74 | 79 70 65 73 22 2e 0d 54 |e protot|ypes"..T|
|00000e30| 68 65 20 34 2d 62 79 74 | 65 20 69 6e 74 20 6f 70 |he 4-byt|e int op|
|00000e40| 74 69 6f 6e 20 61 6e 64 | 20 36 38 30 32 30 20 63 |tion and| 68020 c|
|00000e50| 6f 64 65 20 6f 70 74 69 | 6f 6e 0d 61 72 65 20 74 |ode opti|on.are t|
|00000e60| 75 72 6e 65 64 20 6f 66 | 66 2e 0d 0d 5c 73 65 63 |urned of|f...\sec|
|00000e70| 74 69 6f 6e 7b 55 73 61 | 67 65 7d 0d 0d 41 6e 79 |tion{Usa|ge}..Any|
|00000e80| 20 66 69 6c 65 20 75 73 | 69 6e 67 20 74 68 65 20 | file us|ing the |
|00000e90| 6c 69 62 72 61 72 79 20 | 73 68 6f 75 6c 64 0d 5c |library |should.\|
|00000ea0| 62 65 67 69 6e 7b 76 65 | 72 62 61 74 69 6d 7d 0d |begin{ve|rbatim}.|
|00000eb0| 20 20 20 20 20 20 23 69 | 6e 63 6c 75 64 65 20 22 | #i|nclude "|
|00000ec0| 54 68 69 6e 6b 43 50 6f | 73 69 78 2e 68 22 0d 5c |ThinkCPo|six.h".\|
|00000ed0| 65 6e 64 7b 76 65 72 62 | 61 74 69 6d 7d 0d 54 68 |end{verb|atim}.Th|
|00000ee0| 65 20 68 65 61 64 65 72 | 20 28 22 2a 2e 68 22 29 |e header| ("*.h")|
|00000ef0| 20 66 69 6c 65 73 20 73 | 68 6f 75 6c 64 20 62 65 | files s|hould be|
|00000f00| 20 70 6c 61 63 65 64 20 | 73 6f 6d 65 77 68 65 72 | placed |somewher|
|00000f10| 65 0d 69 6e 20 74 68 65 | 20 54 68 69 6e 6b 20 43 |e.in the| Think C|
|00000f20| 20 74 72 65 65 20 28 69 | 65 20 62 65 6c 6f 77 20 | tree (i|e below |
|00000f30| 74 68 65 20 54 68 69 6e | 6b 20 43 20 61 70 70 6c |the Thin|k C appl|
|00000f40| 69 63 61 74 69 6f 6e 29 | 2e 0d 0d 57 68 65 6e 65 |ication)|...Whene|
|00000f50| 76 65 72 20 74 68 65 20 | 22 50 6f 73 69 78 22 20 |ver the |"Posix" |
|00000f60| 6c 69 62 72 61 72 79 20 | 69 73 20 69 6e 63 6c 75 |library |is inclu|
|00000f70| 64 65 64 2c 0d 74 68 65 | 20 54 68 69 6e 6b 20 43 |ded,.the| Think C|
|00000f80| 20 22 4d 61 63 54 72 61 | 70 73 22 20 6c 69 62 72 | "MacTra|ps" libr|
|00000f90| 61 72 79 20 6d 75 73 74 | 20 61 6c 73 6f 20 62 65 |ary must| also be|
|00000fa0| 20 69 6e 63 6c 75 64 65 | 64 2e 0d 28 54 68 69 73 | include|d..(This|
|00000fb0| 20 63 6f 75 6c 64 20 70 | 72 6f 62 61 62 6c 79 20 | could p|robably |
|00000fc0| 62 65 20 61 76 6f 69 64 | 65 64 20 62 79 20 61 62 |be avoid|ed by ab|
|00000fd0| 73 74 72 61 63 74 69 6e | 67 0d 74 68 65 20 76 65 |stractin|g.the ve|
|00000fe0| 72 79 20 66 65 77 20 4d | 61 63 54 72 61 70 73 20 |ry few M|acTraps |
|00000ff0| 66 75 6e 63 74 69 6f 6e | 73 20 63 61 6c 6c 65 64 |function|s called|
|00001000| 2e 0d 42 75 74 20 69 73 | 20 74 68 61 74 20 6c 65 |..But is| that le|
|00001010| 67 61 6c 3f 29 0d 0d 5c | 73 65 63 74 69 6f 6e 7b |gal?)..\|section{|
|00001020| 4e 6f 74 65 73 7d 0d 54 | 68 65 73 65 20 61 72 65 |Notes}.T|hese are|
|00001030| 20 61 20 66 65 77 20 72 | 61 6e 64 6f 6d 20 74 68 | a few r|andom th|
|00001040| 6f 75 67 68 74 73 20 6f | 6e 20 73 6f 6d 65 20 6f |oughts o|n some o|
|00001050| 66 20 74 68 65 20 66 75 | 6e 63 74 69 6f 6e 73 0d |f the fu|nctions.|
|00001060| 69 6e 20 74 68 65 20 6c | 69 62 72 61 72 79 2e 0d |in the l|ibrary..|
|00001070| 0d 5c 62 65 67 69 6e 7b | 64 65 73 63 72 69 70 74 |.\begin{|descript|
|00001080| 69 6f 6e 7d 0d 0d 5c 69 | 74 65 6d 5b 22 61 6c 6c |ion}..\i|tem["all|
|00001090| 6f 63 61 28 29 22 5d 0d | 54 68 69 73 20 68 61 73 |oca()"].|This has|
|000010a0| 20 62 65 65 6e 20 69 6e | 63 6c 75 64 65 64 20 74 | been in|cluded t|
|000010b0| 6f 20 61 76 6f 69 64 20 | 64 75 70 6c 69 63 61 74 |o avoid |duplicat|
|000010c0| 69 6f 6e 2e 0d 4e 6f 74 | 65 20 74 68 61 74 20 74 |ion..Not|e that t|
|000010d0| 68 65 20 70 72 6f 74 6f | 74 79 70 65 20 69 73 20 |he proto|type is |
|000010e0| 22 76 6f 69 64 20 2a 61 | 6c 6c 6f 63 61 28 73 69 |"void *a|lloca(si|
|000010f0| 7a 65 5c 5f 74 29 22 2c | 0d 72 61 74 68 65 72 20 |ze\_t)",|.rather |
|00001100| 74 68 61 6e 20 22 63 68 | 61 72 20 2a 61 6c 6c 6f |than "ch|ar *allo|
|00001110| 63 61 28 75 6e 73 69 67 | 6e 65 64 29 22 2e 0d 0d |ca(unsig|ned)"...|
|00001120| 5c 69 74 65 6d 5b 22 64 | 75 70 28 29 22 5d 0d 54 |\item["d|up()"].T|
|00001130| 68 65 20 66 75 6e 63 74 | 69 6f 6e 73 20 22 64 75 |he funct|ions "du|
|00001140| 70 28 29 22 20 61 6e 64 | 20 22 64 75 70 32 28 29 |p()" and| "dup2()|
|00001150| 22 0d 28 61 73 20 69 6d | 70 6c 65 6d 65 6e 74 65 |".(as im|plemente|
|00001160| 64 20 68 65 72 65 29 0d | 62 6f 74 68 20 63 6c 6f |d here).|both clo|
|00001170| 73 65 20 74 68 65 20 6f | 72 69 67 69 6e 61 6c 20 |se the o|riginal |
|00001180| 66 69 6c 65 20 61 66 74 | 65 72 20 64 75 70 6c 69 |file aft|er dupli|
|00001190| 63 61 74 69 6f 6e 2e 0d | 54 68 65 20 72 65 61 73 |cation..|The reas|
|000011a0| 6f 6e 20 66 6f 72 20 74 | 68 69 73 20 69 73 20 74 |on for t|his is t|
|000011b0| 68 61 74 20 54 68 69 6e | 6b 20 43 20 61 64 6f 70 |hat Thin|k C adop|
|000011c0| 74 73 20 74 68 65 20 6e | 6f 6e 2d 73 74 61 6e 64 |ts the n|on-stand|
|000011d0| 61 72 64 2c 0d 69 66 20 | 70 6c 61 75 73 69 62 6c |ard,.if |plausibl|
|000011e0| 65 2c 20 70 6f 6c 69 63 | 79 20 6f 66 20 69 6e 63 |e, polic|y of inc|
|000011f0| 6c 75 64 69 6e 67 20 73 | 6f 6d 65 20 66 69 6c 65 |luding s|ome file|
|00001200| 2d 66 75 6e 63 74 69 6f | 6e 73 0d 28 73 75 63 68 |-functio|ns.(such|
|00001210| 20 61 73 20 22 63 6c 6f | 73 65 22 29 0d 61 73 20 | as "clo|se").as |
|00001220| 70 61 72 74 20 6f 66 20 | 74 68 65 20 66 69 6c 65 |part of |the file|
|00001230| 20 73 74 72 75 63 74 75 | 72 65 2e 0d 53 6f 20 61 | structu|re..So a|
|00001240| 20 22 63 6c 6f 73 65 28 | 66 64 29 22 20 61 64 64 | "close(|fd)" add|
|00001250| 72 65 73 73 65 64 20 74 | 6f 20 74 68 65 20 6f 72 |ressed t|o the or|
|00001260| 69 67 69 6e 61 6c 20 64 | 65 73 63 72 69 70 74 6f |iginal d|escripto|
|00001270| 72 0d 77 6f 75 6c 64 20 | 61 6c 73 6f 20 63 6c 6f |r.would |also clo|
|00001280| 73 65 20 74 68 65 20 64 | 75 70 6c 69 63 61 74 65 |se the d|uplicate|
|00001290| 2e 0d 28 54 68 69 73 20 | 6d 61 79 20 62 65 20 61 |..(This |may be a|
|000012a0| 20 6d 69 73 75 6e 64 65 | 72 73 74 61 6e 64 69 6e | misunde|rstandin|
|000012b0| 67 20 6f 6e 20 74 68 65 | 20 61 75 74 68 6f 72 27 |g on the| author'|
|000012c0| 73 20 70 61 72 74 2e 29 | 0d 0d 5c 69 74 65 6d 5b |s part.)|..\item[|
|000012d0| 22 67 65 74 70 61 73 73 | 77 64 28 29 22 5d 0d 54 |"getpass|wd()"].T|
|000012e0| 68 69 73 20 28 61 6e 64 | 20 6f 6e 65 20 6f 72 20 |his (and| one or |
|000012f0| 74 77 6f 20 6f 74 68 65 | 72 20 66 75 6e 63 74 69 |two othe|r functi|
|00001300| 6f 6e 73 29 0d 63 61 6c | 6c 20 22 67 65 74 6c 6f |ons).cal|l "getlo|
|00001310| 67 69 6e 28 29 22 20 69 | 6e 20 74 68 65 20 54 68 |gin()" i|n the Th|
|00001320| 69 6e 6b 20 43 20 55 6e | 69 78 20 6c 69 62 72 61 |ink C Un|ix libra|
|00001330| 72 79 0d 74 6f 20 66 69 | 6e 64 20 74 68 65 20 75 |ry.to fi|nd the u|
|00001340| 73 65 72 27 73 20 6e 61 | 6d 65 2e 0d 54 68 69 73 |ser's na|me..This|
|00001350| 20 6c 61 74 74 65 72 20 | 6d 75 73 74 20 62 65 20 | latter |must be |
|00001360| 73 65 74 2d 2d 2d 25 0d | 75 6e 64 65 72 20 53 79 |set---%.|under Sy|
|00001370| 73 74 65 6d 20 37 2c 20 | 61 74 20 6c 65 61 73 74 |stem 7, |at least|
|00001380| 2d 2d 2d 25 0d 69 6e 20 | 74 68 65 20 22 53 68 61 |---%.in |the "Sha|
|00001390| 72 69 6e 67 20 53 65 74 | 75 70 22 20 43 6f 6e 74 |ring Set|up" Cont|
|000013a0| 72 6f 6c 20 50 61 6e 65 | 6c 2c 0d 61 73 20 64 65 |rol Pane|l,.as de|
|000013b0| 73 63 72 69 62 65 64 20 | 69 6e 20 74 68 65 20 4d |scribed |in the M|
|000013c0| 61 63 69 6e 74 6f 73 68 | 20 4e 65 74 77 6f 72 6b |acintosh| Network|
|000013d0| 69 6e 67 20 52 65 66 65 | 72 65 6e 63 65 20 6d 61 |ing Refe|rence ma|
|000013e0| 6e 75 61 6c 2e 0d 28 49 | 20 62 65 6c 69 65 76 65 |nual..(I| believe|
|000013f0| 20 74 68 61 74 20 75 6e | 64 65 72 20 53 79 73 74 | that un|der Syst|
|00001400| 65 6d 20 36 20 74 68 65 | 20 75 73 65 72 6e 61 6d |em 6 the| usernam|
|00001410| 65 20 77 61 73 20 63 68 | 61 6e 67 65 64 0d 6f 6e |e was ch|anged.on|
|00001420| 20 74 68 65 20 43 68 6f | 6f 73 65 72 20 70 61 6e | the Cho|oser pan|
|00001430| 65 6c 2e 29 0d 0d 5c 69 | 74 65 6d 5b 22 4f 70 65 |el.)..\i|tem["Ope|
|00001440| 6e 28 29 22 5d 0d 54 68 | 65 20 6c 69 62 72 61 72 |n()"].Th|e librar|
|00001450| 79 20 69 6e 63 6c 75 64 | 65 73 20 61 20 66 65 77 |y includ|es a few|
|00001460| 20 60 60 73 75 62 73 74 | 69 74 75 74 65 27 27 20 | ``subst|itute'' |
|00001470| 66 75 6e 63 74 69 6f 6e | 73 2c 0d 65 67 20 22 50 |function|s,.eg "P|
|00001480| 65 72 72 6f 72 28 29 22 | 20 61 6e 64 20 22 4f 70 |error()"| and "Op|
|00001490| 65 6e 28 29 22 2e 0d 54 | 68 65 20 69 64 65 61 20 |en()"..T|he idea |
|000014a0| 69 73 20 74 68 61 74 20 | 74 68 65 73 65 20 63 61 |is that |these ca|
|000014b0| 6e 20 62 65 20 75 73 65 | 64 20 69 6e 20 70 6c 61 |n be use|d in pla|
|000014c0| 63 65 20 6f 66 0d 22 70 | 65 72 72 6f 72 28 29 22 |ce of."p|error()"|
|000014d0| 20 6f 72 20 22 6f 70 65 | 6e 28 29 22 20 62 79 20 | or "ope|n()" by |
|000014e0| 69 6e 63 6c 75 64 69 6e | 67 20 74 68 65 20 6c 69 |includin|g the li|
|000014f0| 6e 65 0d 5c 62 65 67 69 | 6e 7b 76 65 72 62 61 74 |ne.\begi|n{verbat|
|00001500| 69 6d 7d 0d 20 20 20 20 | 20 20 23 64 65 66 69 6e |im}. | #defin|
|00001510| 65 20 6f 70 65 6e 20 4f | 70 65 6e 0d 5c 65 6e 64 |e open O|pen.\end|
|00001520| 7b 76 65 72 62 61 74 69 | 6d 7d 0d 28 6f 72 20 65 |{verbati|m}.(or e|
|00001530| 71 75 69 76 61 6c 65 6e | 74 29 20 61 74 20 61 20 |quivalen|t) at a |
|00001540| 6a 75 64 69 63 69 6f 75 | 73 20 70 6f 69 6e 74 20 |judiciou|s point |
|00001550| 69 6e 20 74 68 65 20 70 | 72 6f 67 72 61 6d 2d 2d |in the p|rogram--|
|00001560| 2d 25 0d 70 72 6f 62 61 | 62 6c 79 20 61 74 20 74 |-%.proba|bly at t|
|00001570| 68 65 20 65 6e 64 20 6f | 66 20 74 68 65 20 63 6f |he end o|f the co|
|00001580| 6e 66 69 67 75 72 61 74 | 69 6f 6e 20 66 69 6c 65 |nfigurat|ion file|
|00001590| 2c 0d 22 63 6f 6e 66 2e | 68 22 20 6f 72 20 77 68 |,."conf.|h" or wh|
|000015a0| 61 74 65 76 65 72 2e 0d | 0d 54 68 65 20 66 75 6e |atever..|.The fun|
|000015b0| 63 74 69 6f 6e 20 22 4f | 70 65 6e 28 63 68 61 72 |ction "O|pen(char|
|000015c0| 2a 2c 20 69 6e 74 2c 20 | 2e 2e 2e 29 22 0d 61 6c |*, int, |...)".al|
|000015d0| 6c 6f 77 73 20 22 6f 70 | 65 6e 28 29 22 20 74 6f |lows "op|en()" to|
|000015e0| 20 74 61 6b 65 20 6d 6f | 72 65 20 74 68 61 6e 20 | take mo|re than |
|000015f0| 32 20 61 72 67 75 6d 65 | 6e 74 73 0d 28 61 73 20 |2 argume|nts.(as |
|00001600| 73 65 65 6d 73 20 69 6e | 63 72 65 61 73 69 6e 67 |seems in|creasing|
|00001610| 6c 79 20 74 68 65 20 70 | 72 61 63 74 69 63 65 29 |ly the p|ractice)|
|00001620| 2c 0d 61 6c 74 68 6f 75 | 67 68 20 74 68 65 73 65 |,.althou|gh these|
|00001630| 20 65 78 74 72 61 20 61 | 72 67 75 6d 65 6e 74 73 | extra a|rguments|
|00001640| 20 61 72 65 20 69 67 6e | 6f 72 65 64 2e 0d 0d 5c | are ign|ored...\|
|00001650| 69 74 65 6d 5b 22 50 65 | 72 72 6f 72 28 29 22 5d |item["Pe|rror()"]|
|00001660| 0d 54 68 69 73 20 67 69 | 76 65 73 20 61 20 62 72 |.This gi|ves a br|
|00001670| 69 65 66 20 64 65 73 63 | 72 69 70 74 69 6f 6e 20 |ief desc|ription |
|00001680| 6f 66 20 74 68 65 20 65 | 72 72 6f 72 20 28 69 66 |of the e|rror (if|
|00001690| 20 69 74 20 63 61 6e 29 | 0d 72 61 74 68 65 72 20 | it can)|.rather |
|000016a0| 74 68 61 6e 20 6a 75 73 | 74 20 74 68 65 20 6e 75 |than jus|t the nu|
|000016b0| 6d 62 65 72 20 61 73 20 | 69 6e 20 22 70 65 72 72 |mber as |in "perr|
|000016c0| 6f 72 28 29 22 2e 0d 54 | 68 65 20 54 68 69 6e 6b |or()"..T|he Think|
|000016d0| 20 43 20 66 75 6e 63 74 | 69 6f 6e 20 22 73 74 72 | C funct|ion "str|
|000016e0| 65 72 72 6f 72 28 29 22 | 2d 2d 2d 25 0d 77 68 69 |error()"|---%.whi|
|000016f0| 63 68 20 74 68 65 20 61 | 75 74 68 6f 72 20 68 61 |ch the a|uthor ha|
|00001700| 64 20 6e 6f 74 20 6e 6f | 74 69 63 65 64 2d 2d 2d |d not no|ticed---|
|00001710| 25 0d 6d 61 79 20 72 65 | 6e 64 65 72 20 74 68 69 |%.may re|nder thi|
|00001720| 73 20 75 6e 6e 65 63 65 | 73 73 61 72 79 2e 0d 0d |s unnece|ssary...|
|00001730| 5c 65 6e 64 7b 64 65 73 | 63 72 69 70 74 69 6f 6e |\end{des|cription|
|00001740| 7d 0d 0d 5c 73 65 63 74 | 69 6f 6e 7b 47 6e 75 20 |}..\sect|ion{Gnu |
|00001750| 70 6f 72 74 73 7d 0d 0d | 49 6e 20 70 72 69 6e 63 |ports}..|In princ|
|00001760| 69 70 6c 65 20 74 68 65 | 20 66 69 6c 65 73 20 0d |iple the| files .|
|00001770| 22 70 61 74 63 68 2e 68 | 71 78 22 2c 20 22 64 69 |"patch.h|qx", "di|
|00001780| 66 66 2e 68 71 78 22 2c | 20 22 70 65 72 6c 2e 68 |ff.hqx",| "perl.h|
|00001790| 71 78 22 2c 20 22 63 69 | 2e 68 71 78 22 2c 20 65 |qx", "ci|.hqx", e|
|000017a0| 74 63 2c 0d 69 6e 20 74 | 68 65 20 64 69 72 65 63 |tc,.in t|he direc|
|000017b0| 74 6f 72 79 20 22 70 75 | 62 2f 4d 61 63 22 20 61 |tory "pu|b/Mac" a|
|000017c0| 74 20 22 66 74 70 2e 6d | 61 74 68 73 2e 74 63 64 |t "ftp.m|aths.tcd|
|000017d0| 2e 69 65 22 0d 63 6f 6e | 74 61 69 6e 20 74 68 65 |.ie".con|tain the|
|000017e0| 20 63 6f 6d 70 69 6c 65 | 64 20 61 70 70 6c 69 63 | compile|d applic|
|000017f0| 61 74 69 6f 6e 73 2e 0d | 0d 54 68 65 20 73 6f 75 |ations..|.The sou|
|00001800| 72 63 65 20 66 6f 72 20 | 74 68 65 73 65 20 61 70 |rce for |these ap|
|00001810| 70 6c 69 63 61 74 69 6f | 6e 73 2d 2d 2d 25 0d 6f |plicatio|ns---%.o|
|00001820| 72 20 72 61 74 68 65 72 | 2c 20 74 68 65 20 64 69 |r rather|, the di|
|00001830| 66 66 2d 66 69 6c 65 73 | 20 66 72 6f 6d 20 74 68 |ff-files| from th|
|00001840| 65 20 73 74 61 6e 64 61 | 72 64 20 64 69 73 74 72 |e standa|rd distr|
|00001850| 69 62 75 74 69 6f 6e 73 | 2d 2d 2d 25 0d 61 72 65 |ibutions|---%.are|
|00001860| 20 69 6e 20 74 68 65 20 | 61 70 70 72 6f 70 72 69 | in the |appropri|
|00001870| 61 74 65 20 73 75 62 64 | 69 72 65 63 74 6f 72 79 |ate subd|irectory|
|00001880| 2c 0d 65 67 20 22 70 75 | 62 2f 4d 61 63 2f 64 69 |,.eg "pu|b/Mac/di|
|00001890| 66 66 2d 32 2e 30 22 2e | 0d 0d 55 6e 66 6f 72 74 |ff-2.0".|..Unfort|
|000018a0| 75 6e 61 74 65 6c 79 2c | 20 6e 6f 6e 65 20 6f 66 |unately,| none of|
|000018b0| 20 74 68 65 73 65 20 70 | 6f 72 74 73 20 61 72 65 | these p|orts are|
|000018c0| 20 79 65 74 20 64 6f 63 | 75 6d 65 6e 74 65 64 20 | yet doc|umented |
|000018d0| 70 72 6f 70 65 72 6c 79 | 2e 0d 0d 5c 73 65 63 74 |properly|...\sect|
|000018e0| 69 6f 6e 7b 44 65 76 65 | 6c 6f 70 6d 65 6e 74 7d |ion{Deve|lopment}|
|000018f0| 0d 0d 54 68 65 20 61 75 | 74 68 6f 72 20 77 6f 75 |..The au|thor wou|
|00001900| 6c 64 20 62 65 20 76 65 | 72 79 20 67 72 61 74 65 |ld be ve|ry grate|
|00001910| 66 75 6c 0d 66 6f 72 20 | 61 6e 79 20 73 75 67 67 |ful.for |any sugg|
|00001920| 65 73 74 65 64 20 69 6d | 70 72 6f 76 65 6d 65 6e |ested im|provemen|
|00001930| 74 73 20 6f 72 20 65 78 | 74 65 6e 73 69 6f 6e 73 |ts or ex|tensions|
|00001940| 2e 0d 50 6c 65 61 73 65 | 20 73 65 6e 64 20 74 68 |..Please| send th|
|00001950| 65 6d 20 74 6f 20 22 74 | 69 6d 40 6d 61 74 68 73 |em to "t|im@maths|
|00001960| 2e 74 63 64 2e 69 65 22 | 2e 0d 41 6e 79 20 6d 61 |.tcd.ie"|..Any ma|
|00001970| 74 65 72 69 61 6c 20 75 | 73 65 64 20 77 69 6c 6c |terial u|sed will|
|00001980| 20 62 65 20 64 75 6c 79 | 20 61 63 6b 6e 6f 77 6c | be duly| acknowl|
|00001990| 65 64 67 65 64 2e 0d 0d | 49 6d 70 6c 65 6d 65 6e |edged...|Implemen|
|000019a0| 74 61 74 69 6f 6e 20 6f | 66 20 66 75 6e 63 74 69 |tation o|f functi|
|000019b0| 6f 6e 73 20 72 65 6c 61 | 74 65 64 20 74 6f 20 0d |ons rela|ted to .|
|000019c0| 22 70 69 70 65 22 2c 20 | 22 65 78 65 63 22 20 61 |"pipe", |"exec" a|
|000019d0| 6e 64 20 22 73 70 61 77 | 6e 22 0d 77 6f 75 6c 64 |nd "spaw|n".would|
|000019e0| 20 62 65 20 70 61 72 74 | 69 63 75 6c 61 72 6c 79 | be part|icularly|
|000019f0| 20 75 73 65 66 75 6c 2e | 0d 28 54 68 65 20 22 65 | useful.|.(The "e|
|00001a00| 78 65 63 28 29 22 20 66 | 75 6e 63 74 69 6f 6e 20 |xec()" f|unction |
|00001a10| 69 6e 20 74 68 65 20 54 | 68 69 6e 6b 20 43 20 55 |in the T|hink C U|
|00001a20| 6e 69 78 20 6c 69 62 72 | 61 72 79 0d 69 67 6e 6f |nix libr|ary.igno|
|00001a30| 72 65 73 20 61 6c 6c 20 | 61 72 67 75 6d 65 6e 74 |res all |argument|
|00001a40| 73 20 65 78 63 65 70 74 | 20 66 6f 72 20 74 68 65 |s except| for the|
|00001a50| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 74 6f 20 | applica|tion to |
|00001a60| 62 65 20 6c 61 75 6e 63 | 68 65 64 2e 0d 49 74 20 |be launc|hed..It |
|00001a70| 77 6f 75 6c 64 20 62 65 | 20 6e 69 63 65 20 69 66 |would be| nice if|
|00001a80| 20 74 68 65 73 65 20 61 | 72 67 75 6d 65 6e 74 73 | these a|rguments|
|00001a90| 20 63 6f 75 6c 64 20 62 | 65 20 70 72 6f 70 65 72 | could b|e proper|
|00001aa0| 6c 79 20 70 61 73 73 65 | 64 2d 2d 2d 25 0d 61 73 |ly passe|d---%.as|
|00001ab0| 20 6d 75 73 74 20 73 75 | 72 65 6c 79 20 62 65 20 | must su|rely be |
|00001ac0| 66 65 61 73 69 62 6c 65 | 2e 29 0d 0d 0d 5c 65 6e |feasible|.)...\en|
|00001ad0| 64 7b 64 6f 63 75 6d 65 | 6e 74 7d 0d 3d 3d 3d 3d |d{docume|nt}.====|
|00001ae0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001af0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001b00| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001b10| 3d 3d 3d 3d 3d 3d 3d 0d | 0d 0d 2d 2d 20 0d 54 69 |=======.|..-- .Ti|
|00001b20| 6d 6f 74 68 79 20 4d 75 | 72 70 68 79 20 20 0d 65 |mothy Mu|rphy .e|
|00001b30| 2d 6d 61 69 6c 3a 20 74 | 69 6d 40 6d 61 74 68 73 |-mail: t|im@maths|
|00001b40| 2e 74 63 64 2e 69 65 0d | 74 65 6c 3a 20 2b 33 35 |.tcd.ie.|tel: +35|
|00001b50| 33 2d 31 2d 32 38 34 32 | 33 36 36 0d 73 2d 6d 61 |3-1-2842|366.s-ma|
|00001b60| 69 6c 3a 20 53 63 68 6f | 6f 6c 20 6f 66 20 4d 61 |il: Scho|ol of Ma|
|00001b70| 74 68 65 6d 61 74 69 63 | 73 2c 20 54 72 69 6e 69 |thematic|s, Trini|
|00001b80| 74 79 20 43 6f 6c 6c 65 | 67 65 2c 20 44 75 62 6c |ty Colle|ge, Dubl|
|00001b90| 69 6e 20 32 2c 20 49 72 | 65 6c 61 6e 64 0d 1f |in 2, Ir|eland.. |
+--------+-------------------------+-------------------------+--------+--------+